// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 使用自配置好的axios
import axios from './axios'
// 引入element组件
import ElementUI from 'element-ui';
// 引入element样式
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 事件总线
Vue.prototype.$bus = new Vue();

// 添加到原型链上，方便全局使用
Vue.prototype.$http = axios;
<<<<<<< HEAD
// 全局定义服务器地址
import { HOST } from './baseURL'
Vue.prototype.$host = HOST;
=======
>>>>>>> bab7c7a15a7723f417b1c3b2179ae51ae1f154c9

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})